projects
/
feed
/
telephony.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eff04c
)
net/yate: Disable FORTIFY_SOURCE properly
author
Sebastian Kemper
<
[email protected]
>
Sat, 17 Feb 2018 17:39:23 +0000
(18:39 +0100)
committer
Sebastian Kemper
<
[email protected]
>
Sat, 17 Feb 2018 17:39:25 +0000
(18:39 +0100)
This reverts commit
4cc2afdcdc6891c5546e94e8a15bb9c96864acd6
which
disabled FORTIFY_SOURCE by removing OpenWrt's CPPFLAGS from the built.
Instead PKG_FORTIFY_SOURCE:=0 is defined, which is the proper way to do
it.
Signed-off-by: Sebastian Kemper <
[email protected]
>
net/yate/Makefile
patch
|
blob
|
history
diff --git
a/net/yate/Makefile
b/net/yate/Makefile
index 738953c7e787096835486e191f029cd0bf70b2b2..ca92770685372a7ceccf498b27fd26a25a6e34b8 100644
(file)
--- a/
net/yate/Makefile
+++ b/
net/yate/Makefile
@@
-27,6
+27,9
@@
PKG_FIXUP:=autoreconf
PKG_INSTALL:=1
+# Yate currently does not compile with FORTIFY_SOURCE enabled
+PKG_FORTIFY_SOURCE:=0
+
include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
@@
-83,6
+86,9
@@
define Package/$(PKG_NAME)-collection-basic
TITLE := Basic Yate Server
endef
+# Otherwise yate ignores CPPFLAGS
+TARGET_CFLAGS += $(TARGET_CPPFLAGS)
+
CONFIGURE_ARGS+= \
$(if $(CONFIG_x86_64),--enable-sse2) \
--disable-sctp \